home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / gtak258.zip / DOC / tips.txt < prev   
Text File  |  1994-09-03  |  18KB  |  527 lines

  1. Assorted mails and news on GTAK 2.12b.
  2. Some of them are written in German.
  3.     USE AT YOUR OWN RISK.
  4.  
  5. ────────────────────────────────────────────────────────────────────────────────
  6. ────────────────────────────────────────────────────────────────────────────────
  7.  
  8. From:      Andreas Muschkat, 2:2426/3075.36
  9. To:        Christian Hacker, 2:2447/102.31
  10. Subject:   Re: Tar Backup
  11. Date:      14.08.94 18:45
  12.  
  13. Hallo Christian Hacker,
  14.  
  15. Du meintest am 08.08.94 um 09:31 im Brett /PCPOOL/OS2.GER
  16. zum Thema "Tar Backup":
  17.  
  18. CH>>> Nun kann es aber sein, dass auf Laufwerk F: und Laufwerk D:
  19. CH>>> Dateien doppelt vorkommen. Diese koennen daher natuerlich
  20. CH>>> nicht im gleichem Tar Archiv gesichert werden.
  21. CH>>> Kann ich mit Tar unter OS2 mehrere Archive auf einem Band
  22. CH>>> machen ?
  23.  
  24. MN>> Ich denke du bist hier der falschen Ueberzeugung das mehrere
  25. MN>> tar-Aufrufe immer in das gleiche Archiv schreiben, was nicht der
  26. MN>> Fall ist. Wenn du einfach alle PArtitionen hintereinander
  27. MN>> sicherst, dann gibt es keine Probleme.
  28.  
  29. > Koentest Du mir vieleicht mal ein CMD-File zukommen lassen ? Evtl als PM.
  30.  
  31. Ich hatte Dir per NM schon ein "CMD-File" zugesandt, aber keine Antwort
  32. erhalten.
  33.  
  34. Es wird zwar langsam Offtopic hier, aber da die mangelnde Antwort auch an
  35. Problemen des Routings liegen koennte (sonst wuerdest Du ja hier nicht wieder
  36. nachfragen), das ganze (hoffentlich letztes Mal) oeffentlich   :
  37.  
  38.  
  39.        Archiv1                 Archiv2               Archiv3
  40. |-----------------------|----------------------|----------------------|
  41. Anfang                Pos1                   Pos2                   Ende
  42.  
  43.  
  44. Legst Du ein frisches Band ein, so ist es leer. Hast Du kein leeres Band,  
  45. so musst Du
  46.  
  47. tape erase
  48.  
  49. eingeben, um es eines zu loeschen.
  50. Nun sicherst Du z.B. drei Partitionen (unabhaengig davon, was drauf ist,  
  51. also ob da Files auf verschiedenen Partitionen gleich lauten) mit
  52.  
  53. c:
  54. tar -cvp
  55. d:
  56. tar -cvp
  57. e:
  58. tar -cvp
  59.  
  60. Nun sieht Dein Band aus, wie in der "Zeichnung" oben.
  61.  
  62. Der Readpointer steht auf "Ende". Mit
  63.  
  64. tape rew
  65.  
  66. spulst Du das Band an den "Anfang" zurueck. Wenn Du nun
  67.  
  68. tar -xvp
  69.  
  70. eingibst, so wird das "Archiv1" vom Band auf das aktuelle Direktorie  
  71. entpackt und der Pointer steht auf "Pos1".
  72.  
  73. Wilst Du nun "Archiv2" nicht entpacken, dafuer aber "Archiv3", so musst Du
  74.  
  75. tape file           (um zu "Pos2" zu spulen)       und
  76. tar -xvp
  77.  
  78. eingeben.
  79.  
  80. Ich hoffen, nun fallen Deine Schuppen von den Augen, wenn nicht, dann  
  81. experimentiere doch mal ein wenig mit den genannten Befehlen mit einem  
  82. leeren Band.
  83.  
  84. Tschaui, Andreas
  85.  
  86.  
  87. --- CrossPoint v3.0
  88.  * Origin: Neue Pointnummer : ----> (2:2426/3075.36)
  89.  
  90. ────────────────────────────────────────────────────────────────────────────────
  91. ────────────────────────────────────────────────────────────────────────────────
  92.  
  93. From: jpoet@einet.com (John P. Poet)
  94. Newsgroups: comp.os.os2.apps
  95. Subject: Re: How to turn of tape compression with GTAK???
  96. Date: 12 May 1994 01:29:25 GMT
  97. Organization: Engineering International Inc., Public Internet Access
  98.  
  99. In message <2qrku6$d3l@mailer.fsu.edu> - paolino@met.fsu.edu (Frank Paolino) writes:
  100.  
  101. >We have the EXABYTE TAPE 8505 and the GTAK SCSI tape package (two
  102. >utils called TAR and TAPE).
  103. >
  104. >The 8505 defaults to write eith compression on.  
  105. >We want to exchange tape with another Exabyte drive that does not have compression.
  106. >
  107. >*** How can I turn off compression from the TAPE utility or from anohter piece of 
  108. >    software?  
  109.  
  110. After running into this myself, I looked at the manual for an HP SCSI DAT 
  111. drive and determined that the following command would turn off the hardware
  112. compression:
  113.  
  114. tape CMD \
  115. cdb=15,10,0,0,14,0;wdata=0,0,10,0,0f,0e,40,80,0,0,0,20,0,0,0,0,0,0,0,0
  116.  
  117. Note that the \ is just means that it really all goes on one line.
  118.  
  119. To turn compression back on, use:
  120.  
  121. tape CMD \
  122. cdb=15,10,0,0,14,0;wdata=0,0,10,0,0f,0e,c0,80,0,0,0,20,0,0,0,0,0,0,0,0
  123.  
  124. These work for me, but I can't guarentee that they will work for you.
  125.  
  126. John
  127.  
  128. ____________________
  129. John Patrick Poet   \
  130. jpoet@einet.com      \
  131. Home: (505) 292 6197  \
  132. Work: (505) 292 6961   \
  133.  
  134. ────────────────────────────────────────────────────────────────────────────────
  135. ────────────────────────────────────────────────────────────────────────────────
  136.  
  137. From: rommel@ars.muc.de (Kai Uwe Rommel)
  138. Newsgroups: comp.os.os2.apps
  139. Subject: Re: GTAK & RSH
  140. Date: Fri, 12 Aug 1994 21:10:45 +0200
  141. Organization: Private
  142.  
  143. J.Poltorak@bradford.ac.uk (J POLTORAK) writes in article <1994Aug10.090811.28598@bradford.ac.uk>:
  144. >
  145. >Can someone show me how to pipe tar through rsh?
  146. >
  147. >I believe it can be done but I haven't figured it out...
  148.  
  149. [c:\] tar -cpv -f - | rsh unixhost -l user -b "dd of=/dev/tape-device bs=32k"
  150.  
  151. [c:\] rsh unixhost -l user -b "dd if=/dev/tapedevice bs=32k" | tar -xpv -f -
  152.  
  153. ....
  154.  
  155. You need the latest CSD for TCP/IP to have a rsh.exe with a working -b
  156. option (binary mode.
  157.  
  158. Kai Uwe Rommel
  159.  
  160. --
  161. /* Kai Uwe Rommel                                      Muenchen, Germany *
  162.  * rommel@ars.muc.de                              CompuServe 100265,2651 *
  163.  * rommel@informatik.tu-muenchen.de                  Fax +49 89 324 4524 */
  164.  
  165. DOS ... is still a real mode only non-reentrant interrupt
  166. handler, and always will be.                -Russell Williams
  167.  
  168. ────────────────────────────────────────────────────────────────────────────────
  169. ────────────────────────────────────────────────────────────────────────────────
  170.  
  171. From:      "Andreas Kaiser" <ak@ananke.stgt.sub.org>
  172. Subject:   Re: Tape write protection error
  173.  
  174. > We have an HP C1533A external tape drive connected to an
  175. > Adaptec SCSI expansion board. To date, we've had no luck
  176. > writing to a DDS tape while connected to the Adaptec or
  177. > the COMPAQ SCSI board (shipped with our server). While
  178. > running Arcserv, a "tape write protection error" is
  179. > reported using any tape (i.e.- DAT, DDS) even though we
  180. > have the write protection tab out.
  181.  
  182. We had the very same problem recently. It looks like old DDS1 tapes
  183. don't support the "media recognition system". Such tapes are treated
  184. as read-only by default (perhaps interpreted as audio DATs). However
  185. the device has a jumper to disable the media recognition system. If
  186. disabled, the device can write to the old tapes, in DDS1 format.
  187.  
  188. ────────────────────────────────────────────────────────────────────────────────
  189. ────────────────────────────────────────────────────────────────────────────────
  190.  
  191. From: smithgr@cs.colorado.edu (Gregory P. Smith)
  192. Newsgroups: comp.os.os2.apps
  193. Subject: Re: grr.... where is OS/2 tar (gtar)?????
  194. Date: 18 Aug 1994 16:41:10 GMT
  195. Organization: University of Colorado, Boulder
  196.  
  197. In article <32topr$clk@harbinger.cc.monash.edu.au>,
  198. AB Wuysang <abwuy1@mdw010.cc.monash.edu.au> wrote:
  199. >
  200. >I found that OS2 was not that good in multitasking my
  201. >tape drive (Archive Viper 2150)...
  202. ...
  203. >(virtually) this should work the same way, but instead it kept my tape
  204. >write (short) - pause (short) - write (short) .., ie. sawing effect???
  205. >since dd is not multi-threaded I can't use it in a way like:
  206.  
  207. This is because tar/gzip are all running at the regular priority.  I found
  208. that with my drive if I use the sp (set priority) utility available on
  209. hobbes (search for sp*.zip) and run tar/gzip as a time critical process
  210. I get much better results without any sesawing.  What was happening before
  211. was that tar wasn't keeping the data flowing fast enough for the tape
  212. drive so it would pause quite often.
  213. I have a 1542CF SCSI controller so the system load when I do this (I
  214. haven't tried it with gzip turned on) is about 7% for a 9-10mb/min
  215. backup.
  216.  
  217. --
  218. Gregory P. Smith  --  [Team OS/2]
  219. smithgr@cs.Colorado.EDU, FidoNet: 1:104/332, RIME ->914
  220. Happy OS/2 and Linux user.    (Finger for a PGP public key)
  221.  
  222. ────────────────────────────────────────────────────────────────────────────────
  223. ────────────────────────────────────────────────────────────────────────────────
  224.  
  225. Path: spcvxb.spc.edu!terry
  226. From: terry@spcvxb.spc.edu (Terry Kennedy, Operations Mgr.)
  227. Newsgroups: comp.periphs.scsi
  228. Subject: Everything you wanted to know about Wangtek 5150ES drives...
  229. Date: 12 Jul 92 20:30:46 EDT
  230.  
  231. In article <710892474snx@hclb.demon.co.uk>, devans@hclb.demon.co.uk (Dave Evans) writes:
  232. > Including Terry Kennedys drive,  I believe there must be at least 4
  233. > different versions of the Wangtek PCB.  I've seen at least 2 different
  234. > EPROMS.   Does no one at Wangtek read this newsgroup who could offer
  235. > some enligtenment ?   Our local distributor is quite helpfull, but
  236. > their data sheets don't correspond with my drives, nor with Terry
  237. > Kennedys'.
  238.  
  239.   First, the disclaimer: This is not an official representation of Wangtek
  240. or of my employer. This is info I've discovered by reading publicly avail-
  241. able reference material. When changing jumpers, always observe proper anti-
  242. static precautions and be sure you have the current configuration written
  243. down so you have a known starting point.
  244.  
  245.   Ok. Here's the complete scoop on Wangtek 5150ES drives:
  246.  
  247.   The current part number for a "generic" 5150ES is:
  248.  
  249.   33685-201 (black faceplate)
  250.   33685-202 (beige faceplate)
  251.  
  252.   These are referred to as the "ACA version" of the drive.
  253.  
  254.   There are _many_ other part numbers for 5150ES drives. If you have one that
  255. isn't one of the above, it doesn't mean you have an old or an out of rev drive,
  256. it just means its a special version created for a distributor or OEM, or with
  257. different default jumper settings.
  258.  
  259.   You can order the Wangtek 5150ES OEM Manual from Wangtek. It is part number
  260. 63045-001 Revision D. Wangtek can be reached at:
  261.  
  262.   WANGTEK Incorporated
  263.   41 Moreland Road
  264.   Simi Valley, CA 93065
  265.   (805) 583-5255 [voice]
  266.   (805) 583-8249 [FAX]
  267.   (805) 582-3370 [BBS]
  268.  
  269.   WANGTEK-Europe
  270.   Unit 1A, Apollo House
  271.   Calleva Industrial Park
  272.   Aldermaston, Reading
  273.   RG7 4QW England
  274.   (44) 734-811463 [voice]
  275.   (44) 734-816076 [FAX]
  276.   851-848135 [telex]
  277.     
  278.   There are 5 possible logic boards. Here are the jumper options for each:
  279.  
  280.   Logic assembly #33678
  281.   ---------------------
  282.  
  283.   (J10)
  284.   0 - SCSI unit LSB
  285.   1 - SCSI unit
  286.   2 - SCSI unit MSB
  287.   K - not documented
  288.  
  289.   J32 - Diagnostic test connector, default is not installed
  290.  
  291.   E1, F1 - SCSI termination power. E1 in = power from drive and to cable,
  292.        E1 out - power from cable. F1 = terminator power fuse, 1.5A FB.
  293.        Default is IN.
  294.  
  295.   E2 - Chassis ground. E2 in jumpers logic to chassis ground. E2 out isolates
  296.        through a .33 uFD capacitor. Default is IN.
  297.  
  298.   E5 - Master oscillator enable. Test only. Must be IN.
  299.  
  300.   E20 - Factory test. Must be OUT.
  301.  
  302.   RP1, RP2, RP3 - SIP terminators. Default is IN, remove for no termination.
  303.  
  304.   Logic assembly #30559
  305.   ---------------------
  306.  
  307.   HDR1 - Factory testing. Setting depends on drive. Don't touch.
  308.  
  309.   HDR2 - Factory testing. Defaults are pins 15-16, 17-18, 19-20. Don't touch.
  310.  
  311.   HDR3 pin 1 - A-B enables buffered mode. B-C disables. Can be overridden by
  312.                SCSI Mode Select.
  313.  
  314.   HDR3 pin 2, 3 - Default data format. Set to B-C for a 5150ES.
  315.  
  316.   HDR3 pin 4 - parity enable. A-B enables, B-C disables.
  317.  
  318.   (J10)
  319.   0 - SCSI unit LSB
  320.   1 - SCSI unit
  321.   2 - SCSI unit MSB
  322.   K - not documented
  323.  
  324.   E1 - SCSI termination power. E1 in = power from drive and to cable,
  325.        E1 out - power from cable.
  326.  
  327.   E2 - Chassis ground. E2 in jumpers logic to chassis ground. E2 out isolates
  328.        through a .33 uFD capacitor. Default is IN.
  329.  
  330.   E3 - Master oscillator enable. Test only. Must be IN.
  331.  
  332.   E4 - Write test mode. Test only. Must be OUT.
  333.  
  334.   E5 - Write oscillator enable. Test only. Must be IN.
  335.  
  336.   E6 - Disable HDR2. Test only. Must be IN.
  337.  
  338.   E7 - Microcontroller clock select. In for a 5150ES.
  339.  
  340.   E8 - Write precomp select. Set on a per-drive basis. Don't touch.
  341.  
  342.   E9 - RAM size. Don't touch.
  343.  
  344.   E10 - Erase frequency. Don't touch.
  345.  
  346.   RP2, RP3 - DIP and SIP terminators. Default is IN, remove for no termination.
  347.  
  348.   Logic assembly #30600
  349.   ---------------------
  350.  
  351.   HDR1 - Factory testing. Setting depends on drive. Don't touch.
  352.  
  353.   HDR2 - Write precomp select. Set on a per-drive basis. Don't touch.
  354.  
  355.   HDR3 pin 1, 2, 3 - SCSI device address. 1 is LSB, 3 is MSB. A-B=1, B-C=0
  356.  
  357.   HDR3 pin 4 - Parity enable. IA-B is enabled.
  358.  
  359.   HDR3 pin 5, 6 - Default data format. B-C for a 5150ES.
  360.  
  361.   HDR3 pin 7 - Buffered mode select. A-B is enabled.
  362.  
  363.   HDR3 pin 8 - Reserved. Must be OUT.
  364.  
  365.   HDR4 - Write frequency select. Don't touch.
  366.  
  367.   E1 - SCSI termination power. E1 in = power from drive and to cable,
  368.        E1 out - power from cable.
  369.  
  370.   E2 - Chassis ground. E2 in jumpers logic to chassis ground. E2 out isolates
  371.        through a .33 uFD capacitor. Default is IN.
  372.  
  373.   E3 - Hard/soft reset. IN enables hard reset.
  374.  
  375.   E4 - Write precomp select. Don't touch.
  376.  
  377.   E5 - Clock speed. Don't touch.
  378.  
  379.   E6 - Tape hole test. Don't touch.
  380.  
  381.   Logic assembly #30552
  382.   ---------------------
  383.  
  384.   HDR1 - Factory testing. Setting depends on drive. Don't touch.
  385.  
  386.   HDR2 - Write precomp select. Set on a per-drive basis. Don't touch.
  387.  
  388.   HDR3 pin 1, 2, 3 - SCSI device address. 1 is LSB, 3 is MSB. [Note - HDR3
  389.              pins 1-3 are duplicated at another location on the board]
  390.  
  391.   HDR3 pin 4 - Parity enable. IN is enabled.
  392.  
  393.   HDR3 pin 5, 6, 7, 8 - Default data format. 5,5 B-C, 7-8 A-B for a 5150ES.
  394.  
  395.   HDR4 - Write frequency select. Don't touch.
  396.  
  397.   E1 - SCSI termination power. E1 in = power from drive and to cable,
  398.        E1 out - power from cable.
  399.  
  400.   E2 - Chassis ground. E2 in jumpers logic to chassis ground. E2 out isolates
  401.        through a .33 uFD capacitor. Default is IN.
  402.  
  403.   E3 - Hard/soft reset. IN enables hard reset.
  404.  
  405.   E4 - Write precomp select. Don't touch.
  406.  
  407.   E5 - Clock speed. Don't touch.
  408.  
  409.   E6 - Tape hole test. Don't touch.
  410.  
  411.   Logic assembly #30427
  412.   ---------------------
  413.  
  414.   HDR1 - Factory testing. Setting depends on drive. Don't touch.
  415.  
  416.   HDR2 - Write precomp select. Set on a per-drive basis. Don't touch.
  417.  
  418.   HDR3 pin 1, 2, 3 - SCSI device address. 1 is LSB, 3 is MSB. A-B=1, B-C=0
  419.  
  420.   HDR3 pin 4 - Parity enable. IA-B is enabled.
  421.  
  422.   HDR3 pin 5, 6, 7, 8 - Default data format. 5,5 B-C, 7-8 A-B for a 5150ES.
  423.  
  424.   E1, E3 - Factory test. Must be IN.
  425.  
  426.   E2 - SCSI termination power. E2 in = power from drive and to cable,
  427.        E2 out - power from cable.
  428.  
  429.   E4 - Chassis ground. E4 in jumpers logic to chassis ground. E4 out isolates
  430.        through a .33 uFD capacitor. Default is IN.
  431.  
  432.   Firmware - There are many flavors of firmware. I have seen the following
  433. parts:
  434.  
  435.   24115-xxx
  436.   24144-xxx
  437.   21158-xxx
  438.  
  439.   the -xxx suffix changes as the firmware is updated. According to the folks
  440. I spoke to at Wangtek, the standard firmware is the 21158. The latest version
  441. as of this writing is 21158-007. All of these will work with the Adaptec and
  442. GTAK.
  443.  
  444.   The firmware options (as returned by a SCSI Identify) are on the end of the
  445. product string, which is "WANGTEK 5150ES SCSI ES41C560 AFD QFA STD" for the
  446. 21158-007 firmware. The 3-letter codes have the following meaning:
  447.  
  448.   AFD - Automatic Format Detection - the drive will recognize the format (such
  449.     as QIC-24, QIC-120, or QIC-150) that the tape was written in.
  450.  
  451.   QFA - Quick File Access - the ability to rapidly locate a tape block, and
  452.     to implement the "position to block" and "report block" SCSI commands.
  453.     This is compatible with the Tandberg implementation.
  454.  
  455.   STD - Standard feature set.
  456.  
  457.   I hope you find this information useful.
  458.  
  459. ────────────────────────────────────────────────────────────────────────────────
  460. ────────────────────────────────────────────────────────────────────────────────
  461.  
  462. From: ak@ananke.s.bawue.de (Andreas Kaiser)
  463. Newsgroups: comp.os.os2.apps
  464. Subject: Re: GTAK problem
  465. Date: Sat, 03 Sep 94 22:30:23 GMT
  466.  
  467. mprager@mprager.sefc.miami.edu writes in article <3483ho$le5@umigw.miami.edu>:
  468.  
  469. >         tar -cp -pp C:/.
  470. > I wonder if just
  471. >         tar -cp -pp C:/
  472. > (without the ".") would be better (or equivalent)?
  473.  
  474. Equivalent.
  475.  
  476. > Also, I am not sure what "quoting" means.  Would that be
  477. >         tar -cp -pp "C:/*"
  478. > or
  479. >         tar -cp -pp 'C:/*'
  480.  
  481. Well, my knowledge on this subject is not necessarily much better than
  482. yours, since I did not write this part of GNU-TAR (I just added the
  483. initial wildcard match mimicing Unix behaviour) and I rarely use
  484. wildcards with TAR, except to save a finite set of known files. So when
  485. I encounter such questions, all I do is trial-and-error, perhaps eased
  486. by some looks into the source code.
  487.  
  488. As a result of such a trial-and-error survey made right now, I
  489. discovered that TAR does not match quoted wildcards at all when
  490. archiving (I did not knew this before). Quoted wildcards are matched
  491. when diff'ing or reading the archive (restore, diff, list).
  492.  
  493. Examples of properly quoted wildcards (use double quotes):
  494.     tar xpv "c:/os2/*.add"
  495.     tar xpv c:/os2/"*.add"
  496.     
  497. The general rules are:
  498.  
  499. - When archiving, use wildcards to save a finite set of files only. To
  500. save whole filesystems or directories, do not use wildcards, just
  501. specify the root- or subdirectory. And remember that the only directory
  502. which ends in a "/" is the root directory, all others should be
  503. specified without the trailing "/".
  504.  
  505. - To restore (or diff, list) wildcard-selectable files, use quoted
  506. wildcards only. Unquoted wildcards try to match a set of files on your
  507. disk before restoring, so you may get much less restored as expected if
  508. the pattern matches something on your disk.
  509.  
  510. - To restore a whole archive, do not specify a filename or pattern
  511. argument.
  512.  
  513. - To restore a directory (or a filesystem, if you used -P when
  514. archiving) of the archive, do not use wildcards. Just specify the
  515. directory (or filesystem).
  516.  
  517.         Gruss, Andreas
  518.  
  519. -------------------- internet: ak@ananke.s.bawue.de
  520. -- Andreas Kaiser -- fidonet:  2:246/8506.9
  521. --------------------
  522.  
  523. ────────────────────────────────────────────────────────────────────────────────
  524. ────────────────────────────────────────────────────────────────────────────────
  525.  
  526.  
  527.